package com.cxrj.zhsq.housePropertyManage.service;

import java.text.ParseException;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.housePropertyManage.entity.PropertyHouse;

public interface HousePropertyService {

	Map<String, Object> insertHouseProperty(PropertyHouse propertyHouse,String[] houses, HttpServletRequest request);

	Map<String, Object> selectHouseList(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectHouseById(String id);

	Map<String, Object> updateHouseProperty(PropertyHouse propertyHouse);

	Map<String, Object> deleteHouse(PropertyHouse propertyHouse);

	Map<String, Object> selectNumberPeriods(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectBuilding(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectUnit(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectDoorCard(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectCheckingBuilding(HttpServletRequest request, String numberPeriods, String building);

	Map<String, Object> insertHousePropertyOne(HttpServletRequest request,PropertyHouse propertyHouse);

	Map<String, Object> selectCheckingDoorCard(HttpServletRequest request, String numberPeriods, String building,
			String unit, String doorCard);

	Map<String, Object> selectHouseData(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> deleteByIds(String[] ids);
	
	Map<String, Object> selectByPayDetail(String id) throws ParseException;

	Map<String, Object> updateHouseState(PropertyHouse house, HttpServletRequest request);

}
